<!--_meta 作为公共模版分离出去-->
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<link rel="Bookmark" href="/favicon.ico" >
<link rel="Shortcut Icon" href="/favicon.ico" />
<!--[if lt IE 9]>
<script type="text/javascript" src="__STATIC__/lib/html5shiv.js"></script>
<script type="text/javascript" src="__STATIC__/lib/respond.min.js"></script>
<![endif]-->
<link rel="stylesheet" type="text/css" href="__STATIC__/static/h-ui/css/H-ui.min.css" />
<link rel="stylesheet" type="text/css" href="__STATIC__/static/h-ui.admin/css/H-ui.admin.css" />
<link rel="stylesheet" type="text/css" href="__STATIC__/lib/Hui-iconfont/1.0.8/iconfont.css" />
<link rel="stylesheet" type="text/css" href="__STATIC__/static/h-ui.admin/skin/default/skin.css" id="skin" />
<link rel="stylesheet" type="text/css" href="__STATIC__/static/h-ui.admin/css/style.css" />
<!--[if IE 6]>
<script type="text/javascript" src="__STATIC__/lib/DD_belatedPNG_0.0.8a-min.js" ></script>
<script>DD_belatedPNG.fix('*');</script>
<![endif]-->
<!--/meta 作为公共模版分离出去-->

</head>
<body>
<article class="page-container">
	<form action="video_edit?id={$video_list.id}" method="post" enctype="multipart/form-data" class="form form-horizontal" id="form-member-add">
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-3"><span class="c-red"></span>标题：</label>
			<div class="formControls col-xs-8 col-sm-5">
				<input type="text" class="input-text" value="{$video_list.title}" placeholder="" id="title" name="title">
			</div>
		</div>
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-3">来源：</label>
			<div class="formControls col-xs-8 col-sm-3">
				<span class="select-box">
					<select class="select" size="1" name="source">
						<option value="0">请选择房间来源</option>
						<option {$video_list.source=='花椒' ? 'selected' : 'no'} value="1">花椒</option>
						<option {$video_list.source=='斗鱼' ? 'selected' : 'no'} value="2">斗鱼</option>
						<option {$video_list.source=='优酷' ? 'selected' : 'no'} value="3">优酷</option>
						<option {$video_list.source=='YY' 	? 'selected' : 'no'} value="4">YY</option>
						<option {$video_list.source=='虎牙' ? 'selected' : 'no'} value="5">虎牙</option>
						<option {$video_list.source=='腾讯' ? 'selected' : 'no'} value="6">腾讯</option>
						<option {$video_list.source=='熊猫' ? 'selected' : 'no'} value="7">熊猫</option>
						<option {$video_list.source=='龙珠' ? 'selected' : 'no'} value="8">龙珠</option>
						<option {$video_list.source=='PPTV' ? 'selected' : 'no'} value="9">PPTV</option>
						<option {$video_list.source=='咪咕' ? 'selected' : 'no'} value="10">咪咕</option>
						<option {$video_list.source=='映客' ? 'selected' : 'no'} value="11">映客</option>
						<option {$video_list.source=='爱奇艺' ? 'selected' : 'no'} value="12">爱奇艺</option>
						<option {$video_list.source=='全民' ? 'selected' : 'no'} value="13">全民</option>
						<option {$video_list.source=='战旗' ? 'selected' : 'no'} value="4">战旗</option>
					</select>
				</span>
			</div>
		</div>

		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-3">分类：</label>
			<div class="formControls col-xs-8 col-sm-3">
				<span class="select-box">
					<select class="select" size="1" name="cate">
						<option value="0">请选择房间分类</option>

						<option {$video_list.cate=='花絮' ? 'selected' : 'no'} value="1">花絮</option>
						<option {$video_list.cate=='预告' ? 'selected' : 'no'} value="2">预告</option>
						<option {$video_list.cate=='集锦' ? 'selected' : 'no'} value="3">集锦</option>
						<option {$video_list.cate=='时尚' ? 'selected' : 'no'} value="4">时尚</option>
						<option {$video_list.cate=='推荐' ? 'selected' : 'no'} value="5">推荐</option>
						<option {$video_list.cate=='明星' ? 'selected' : 'no'} value="6">明星</option>
						<option {$video_list.cate=='电台' ? 'selected' : 'no'} value="7">电台</option>
						<option {$video_list.cate=='粤语' ? 'selected' : 'no'} value="8">粤语</option>
						<option {$video_list.cate=='外语' ? 'selected' : 'no'} value="9">外语</option>
					</select>
				</span>
			</div>
		</div>

		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-3"><span class="c-red"></span>用户名：</label>
			<div class="formControls col-xs-8 col-sm-5">
				<input type="text" class="input-text" value="{$video_list.username}" placeholder="" id="username" name="username">
			</div>
		</div>
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-3">用户头像：</label>
			<div class="formControls col-xs-8 col-sm-9">
				<span class="btn-upload form-group">
					<input class="input-text upload-url" type="file" name="user_photo" id="user_photo" readonly nullmsg="请添加附件！" style="width:200px">
				</span>
				<img src="{$video_list.user_photo}" style="width:100px">
			</div>
		</div>
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-3">封面：</label>
			<div class="formControls col-xs-8 col-sm-9">
				<span class="btn-upload form-group">
					<input class="input-text upload-url"  type="file" name="photo" id="photo" readonly nullmsg="请添加附件！" style="width:200px">
				</span>
				<img src="{$video_list.photo}" style="width:100px">
			</div>
		</div>


		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-3"><span class="c-red"></span>直播房间：</label>
			<div class="formControls col-xs-8 col-sm-8">
				<input type="text" class="input-text" value="{$video_list.url}" placeholder="" id="url" name="url">
			</div>
		</div>
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-3"><span class="c-red"></span>解析方式：</label>
			<div class="formControls col-xs-8 col-sm-9 skin-minimal">
				<div class="radio-box">
					<input name="type" type="radio" id="sex-1" {$video_list.type==1 ? 'checked' : 'no'} value="1">
					<label for="sex-1">直接播放</label>
				</div>
				<div class="radio-box">
					<input type="radio" id="sex-2" value="2" {$video_list.type==2 ? 'checked' : 'no'} name="type">
					<label for="sex-2">点亮解析</label>
				</div>
			</div>
		</div>
		<!--<div class="row cl">-->
			<!--<label class="form-label col-xs-4 col-sm-3">备注：</label>-->
			<!--<div class="formControls col-xs-8 col-sm-9">-->
				<!--<textarea name="beizhu" cols="" rows="" class="textarea"  placeholder="说点什么...最少输入10个字符" onKeyUp="$.Huitextarealength(this,100)"></textarea>-->
				<!--<p class="textarea-numberbar"><em class="textarea-length">0</em>/100</p>-->
			<!--</div>-->
		<!--</div>-->
		<div class="row cl">
			<div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-3">
				<input class="btn btn-primary radius" type="submit" value="&nbsp;&nbsp;提交&nbsp;&nbsp;">
				<input class="btn btn-primary radius" type="button"  onclick="history.go(-1)" value="&nbsp;&nbsp;返回&nbsp;&nbsp;">

			</div>

		</div>
	</form>
</article>

<!--_footer 作为公共模版分离出去-->
{include file="public/_footer"} <!--/_footer 作为公共模版分离出去-->

<!--请在下方写此页面业务相关的脚本--> 
<script type="text/javascript" src="__STATIC__/lib/My97DatePicker/4.8/WdatePicker.js"></script>
<script type="text/javascript" src="__STATIC__/lib/jquery.validation/1.14.0/jquery.validate.js"></script> 
<script type="text/javascript" src="__STATIC__/lib/jquery.validation/1.14.0/validate-methods.js"></script> 
<script type="text/javascript" src="__STATIC__/lib/jquery.validation/1.14.0/messages_zh.js"></script>
<script type="text/javascript">


$(function(){
	$('.skin-minimal input').iCheck({
		checkboxClass: 'icheckbox-blue',
		radioClass: 'iradio-blue',
		increaseArea: '20%'
	});

	// //验证表单数据是否填写完成
	// $("#form-member-add").validate({
	// 	rules:{
     //        title:{
	// 			required:true,
	// 		},
     //        source:{
	// 			required:true,
	// 		},
     //        cate:{
	// 			required:true,
	// 		},
     //        username:{
	// 			required:true,
	// 		},
     //        user_photo:{
	// 			required:true,
     //        },
     //        phonto:{
     //            required:true,
     //        },
     //        url:{
     //            required:true,
     //        },
     //        sex:{
     //            required:true,
	// 		}
	// 	},
	// });
});
</script> 
<!--/请在上方写此页面业务相关的脚本-->
</body>
</html>